package com.ruoyi.demo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 任务单序列号过站信息对象 pro_task_sn_data
 * 
 * @author shc
 * @date 2024-09-25
 */
@Data
public class ProTaskSnData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 产品 */
    @Excel(name = "产品")
    private String product;

    /** 线体 */
    @Excel(name = "线体")
    private String line;

    /** 站点ID */
    @Excel(name = "站点ID")
    private Long stationId;

    /** 站点编码 */
    @Excel(name = "站点编码")
    private String stationCode;

    /** 工单号 */
    @Excel(name = "工单号")
    private String mo;

    /** 任务单号（工单号+序号） */
    @Excel(name = "任务单号", readConverterExp = "工=单号+序号")
    private String taskSn;

    /** 逻辑删除:  0:正常 1:已删除 */
    @Excel(name = "逻辑删除:  0:正常 1:已删除")
    private Integer deleted;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String stationName;

    /** 工序ID */
    @Excel(name = "工序ID")
    private Long processId;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String processCode;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;

    /** 报工记录id */
    @Excel(name = "报工记录id")
    private Long recordId;
    /**
     * 过站任务单id
     */
    private Long taskId;
    @TableField(exist = false)
    private String snCondition;
    @ApiModelProperty("SN")
    @TableField(exist = false)
    private List<String> snList;
}
